package cate.game.role.pvp.championrace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBChampionRace;
import cate.game.pvp.championrace.data.ChampionRaceSpec;
import easy.java.dev.note.NoteField;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;


@AllArgsConstructor
@NoArgsConstructor
@ClientMsg(title = "简要消息 返回")
public class ChampionRaceLiteDataResp implements MsgOutput {

    public ChampionRaceSpec spec;

    @NoteField(value = "当前赛季开启时间")
    public long seasonStartTime;

    @NoteField(value = "下个赛季开始的时间")
    public long nextSeasonStartTime;

    @NoteField(value = "是否开启预告", detail = "1 开启")
    public byte notice;

    @NoteField(value = "当前是否有竞猜可以参与")
    public byte bet;

    @NoteField(value = "当前阶段是否有红包可以领取")
    public byte redPacket;

    @Override
    public MsgConfig conf() {
        return MsgIdBChampionRace.LITE_DATA_RESP;
    }
}
